/*
 * AddressTests.h
 *
 *  Created on: 31 ��� 2010
 *      Author: Sartios
 */

#ifndef ADDRESSTESTS_H_
#define ADDRESSTESTS_H_

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>

#include "../../../Domain/Addresses/IAddress.h"

class AddressTests : public CppUnit::TestFixture
{

	CPPUNIT_TEST_SUITE(AddressTests);

	CPPUNIT_TEST(setTown_CharactersAsTownName_TownEqualToParameter);

	CPPUNIT_TEST(setTown_SymbolsAsTownName_TownEqualToNull);

	CPPUNIT_TEST(setTown_NumSymbCharAsTownName_TownEqualToNull);

	CPPUNIT_TEST(setStreet_CharactersAsStreetName_StreetEqualToPamareter);

	CPPUNIT_TEST(setStreet_NumbersAsStreetName_StreetEqualToNull);

	CPPUNIT_TEST(setStreet_SymbolsAsStreetName_StreetEqualToNull);

	CPPUNIT_TEST(setStreet_NullAsStreetName_StreetEqualToNull);

	CPPUNIT_TEST(setNumber_CharactersAsStreetNumber_StreetNumberEqualToNull);

	CPPUNIT_TEST(setNumber_NumbersAsStreetNumber_StreetNumberEqualToParameter);

	CPPUNIT_TEST(setStreet_SymbolsAsStreetName_StreetEqualToNull);

	CPPUNIT_TEST(setNumber_NumSymbCharAsStreetNumber_StreetNumberEqualToNull);

	CPPUNIT_TEST(setNumber_NullAsStreetNumber_StreetNumberEqualToNull);

	CPPUNIT_TEST_SUITE_END();
public:
	void	setUp();
	void	tearDown();

	void	setTown_CharactersAsTownName_TownEqualToParameter();

	void	setTown_NumbersAsTownName_TownEqualToNull();

	void	setTown_SymbolsAsTownName_TownEqualToNull();

	void	setTown_NumSymbCharAsTownName_TownEqualToNull();

	void	setStreet_CharactersAsStreetName_StreetEqualToPamareter();

	void	setStreet_NumbersAsStreetName_StreetEqualToNull();

	void	setStreet_SymbolsAsStreetName_StreetEqualToNull();

	void	setStreet_NumSymbCharAsStreetName_StreetEqualToNull();

	void	setStreet_NullAsStreetName_StreetEqualToNull();

	void	setNumber_CharactersAsStreetNumber_StreetNumberEqualToNull();

	void	setNumber_NumbersAsStreetNumber_StreetNumberEqualToParameter();

	void	setNumber_SymbolsAsStreetNumber_StreetNumberEqualToNull();

	void	setNumber_NumSymbCharAsStreetNumber_StreetNumberEqualToNull();

	void	setNumber_NullAsStreetNumber_StreetNumberEqualToNull();


private:
	IAddress	*address_;
	const string	*symbols_;
};
#endif /* ADDRESSTESTS_H_ */
